package com.zg.invoice.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
* @author zg
*/
@Data
@ApiModel(value = "发票集合信息", description = "发票集合信息对象")
public class InvoiceListReq {
    @ApiModelProperty(value = "通用搜索")
    private  String searchStr;
    /**
     * 发票号码
     */
    @ApiModelProperty(value = "发票号码")
    private String invoiceNo;
    /**
     * 开票日期起
     */
    @ApiModelProperty(value = "开票日期起 yyyy-MM-dd HH:mm:ss")
    private String drewDateBegin;
    /**
     * 开票日期止
     */
    @ApiModelProperty(value = "开票日期止 yyyy-MM-dd HH:mm:ss")
    private String drewDateEnd;
    /**
     * 发票类型
     */
    @ApiModelProperty(value = "发票类型 1专票,2普票,3电票,4数电纸票")
    private Long invoiceType;
    /**
     * 开票类型
     */
    @ApiModelProperty(value = "开票类型 0 蓝票 1 红票")
    private String billingType;
    /**
     * 销方名称
     */
    @ApiModelProperty(value = "销方名称")
    private String sellerName;
    /**
     * 购方名称
     */
    @ApiModelProperty(value = "购方名称")
    private String purchaserName;
    /**
     * 开票员id
     */
    @ApiModelProperty(value = "开票员id")
    private String userId;
    /**
     * 发票状态:10.正常20.已被红冲.30.已被作废
     */
    @ApiModelProperty(value = "发票状态:10.正常20.已被红冲.30.已被作废")
    private Long invoiceStatus;
    /**
     * 来源系统
     */
    @ApiModelProperty(value = "来源系统",required = true)
    @NotBlank(message = "来源系统不能为空")
    private String  sourceSystem;

}
